package org.destinyshine.cricket.context.description;

import org.destinyshine.cricket.container.FilterWrapper;

import javax.servlet.Filter;

/**
 * Created by destinyliu on 2016/2/28.
 */
public class FilterMapping {

    private final String urlPattern;

    private final FilterWrapper filterWrapper;

    public FilterMapping(String urlPattern, FilterWrapper filterWrapper) {
        this.urlPattern = urlPattern;
        this.filterWrapper = filterWrapper;
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public FilterWrapper getFilterWrapper() {
        return filterWrapper;
    }
}
